package com.cskaoyan.service.wx;

import com.cskaoyan.bean.MarketAddress;
import com.cskaoyan.bean.MarketAdmin;
import com.cskaoyan.bean.MarketUser;
import com.cskaoyan.bean.param.CommonData;

public interface WXAddressService {

    //获取所有的地址信息
    CommonData<MarketAddress> queryAdressInfo(MarketUser currentUser);

    //根据用户的地址id获取到用户的地址信息
    MarketAddress queryByAddressId(Integer id);

    //修改地址信息，返回的是修改的地址信息的id
    Integer updateAddressInfo(MarketAddress address, MarketUser currentUser);

    //根据当前地址的id删除当前地址信息
    Integer deleteById(MarketAddress address);
}
